home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 045a / qemmwin3.zip / WINFLOW.TEC
Text File  |  1992-02-13  |  38KB  |  855 lines

  1. ID:WA Windows 3.0 and QEMM-386 Advanced Troubleshooting
  2. Quarterdeck Technical Note # 207
  3. by David Riess
  4.  
  5.  
  6.  
  7.    QEMM-386 version 5.11 and above supports Windows 3.0 in all of its 
  8. processing modes: Real, Standard, and 386 Enhanced.
  9.  
  10.    This Quarterdeck Technical Note has been written to help you troubleshoot 
  11. and fix almost all Windows 3.0 problems which relate to the use of QEMM.  We 
  12. have included an example scenario for you to follow in order to make this 
  13. process as "user friendly" as possible.
  14.  
  15.    This procedure will take at least two steps to complete.  You will have to 
  16. skip ahead to different parts of this technote depending on the results of 
  17. previous steps, so PLEASE FOLLOW ALL INSTRUCTIONS CAREFULLY. Steps A,B,C,D and 
  18. E are located at the end of this technote.
  19.  
  20.    The Quarterdeck Technical Support Staff handles many Windows 3.0 calls 
  21. every day, ranging from the simple (e.g., "When I try to load Windows from my 
  22. local drive, I get the Windows graphics logo but nothing else happens and it 
  23. takes me back to the C prompt") to the difficult (e.g., "I'm running Windows 
  24. from the network and I load up my spreadsheet program, then I load up my 
  25. database program.  If I print from the spreadsheet program, then switch to my 
  26. database program the system crashes.  This happens randomly, usually once 
  27. every 3 days."). This technical note follows the identical procedures which 
  28. our technical support staff uses to troubleshoot Windows 3.0 with QEMM-386.
  29.  
  30.    ------------------------------------------------------------------------
  31. EXAMPLE Windows 3.0 PROBLEM SCENARIO : "I've installed QEMM-386 and have run 
  32. the OPTIMIZE program to load my TSR's and device drivers into high memory.  
  33. I'm running Windows from my network drive (drive F:).  I get into Windows 
  34. without a problem, except when I load my scanner program I get an 'UAE: 
  35. Unrecoverable Application Error' error message and my system crashes".
  36.  
  37.    SCENARIO ASSUMPTIONS: QEMM has been loaded onto the local C: drive and QEMM 
  38. is installed in the C:\QEMM subdirectory.  Windows 3.0 has been installed on 
  39. the NETWORK drive in the F:\WINDOWS subdirectory.
  40.  
  41.    INSTRUCTIONS: In each of the following steps you will either edit a file or 
  42. run a program from the DOS prompt.  Whenever you see a number followed by a 
  43. right parenthesis ), perform the action which follows. Comments regarding the 
  44. action will be followed in brackets [].  Look for the ??? at the end of each 
  45. step, because a question will need to be answered to determine the next STEP 
  46. to perform.
  47.  
  48.  
  49.                                    (STEP 1)
  50.  
  51.                        DETERMINING YOUR QEMM-386 VERSION
  52.                        ---------------------------------
  53.  
  54.    Older QEMM versions can cause Windows 3.0 problems.  We have modified QEMM 
  55. in recent versions to accommodate Windows 3.0 features.  This step determines 
  56. which QEMM version you have, and will direct you to the troubleshooting 
  57. technique needed for solving your Windows 3.0 problem based on your QEMM 
  58. version.  Enter the following 3 commands at the DOS prompt:
  59.  
  60.    1)  C:          [go to the QEMM disk-drive           ]
  61.    2)  CD\QEMM     [go to the QEMM subdirectory         ]
  62.    3)  QEMMREG     [Determine what QEMM version you have]
  63.  
  64.        Here's an EXAMPLE of what you should see on your screen:
  65.  
  66.        Quarterdeck Expanded Memory Manager 386 V5.13    <----------|
  67.        Copyright (c) 1986-1991 by Quarterdeck Office Systems       |
  68.        Serial number: 000-B6-0000-000000                           |
  69.        Registered to: Power User                                   |
  70.        ABC COMPUTER USERS                                          |
  71.        Anywhere, CA  USA                                           |
  72.                                                                    |
  73.    ??? What version of QEMM is installed on your machine: ---------|
  74.         4.00 - 5.10
  75.         ---------------
  76.         any Windows 3.0 processing mode       : go to STEP A.
  77.  
  78.         5.11
  79.         ---------------
  80.         Windows 3.0 - Real     mode problem   : go to STEP 5.
  81.         Windows 3.0 - Standard mode problem   : go to STEP 2.
  82.         Windows 3.0 - Enhanced mode problem   : go to STEP 4.
  83.  
  84.         5.12 or 5.13
  85.         ---------------
  86.         Windows 3.0 - Real     mode problem   : go to STEP 5.
  87.         Windows 3.0 - Standard mode problem   : go to STEP 5.
  88.         Windows 3.0 - Enhanced mode problem   : go to STEP 4.
  89.  
  90.         6.00 or greater
  91.         ---------------
  92.         any Windows 3.0 processing mode       : go to STEP 3.
  93.  
  94.    ***
  95.    If QEMMREG returns "Bad command or file name", then either you have a very 
  96. old version of QEMM-386 (in which you should go to STEP A) or you have erased 
  97. the file QEMMREG.COM from your QEMM directory (in which case you should re-
  98. install QEMM-386 on your hard disk and perform STEP 1 again) ***
  99.  
  100.  
  101.                                    (STEP 2)
  102.  
  103.                        DETERMINING YOUR WINDOWS VERSION
  104.                        --------------------------------
  105.  
  106.    You are having problems with Windows 3.0 - Standard mode while using QEMM 
  107. version 5.11.  There are currently 2 versions of Windows 3.0 (version 3.0 and 
  108. 3.0a).  This step determines which Windows 3.0 version you have.  To determine 
  109. if a QEMM upgrade is needed, perform the following 3 commands at the DOS 
  110. prompt:
  111.  
  112.    1) F:             [go to the Windows 3.0 drive                         ]
  113.    1) CD\WINDOWS     [go to the Windows 3.0 subdirectory                  ]
  114.    2) DIR WIN*.EXE   [get a directory of all .EXE files beginning with WIN]
  115.  
  116.       There should be 3 or 4 files listed.  Here's an EXAMPLE of what you 
  117. should see on your screen:
  118.  
  119.       F:\WINDOWS>DIR WIN*.EXE
  120.  
  121.         Volume in drive F has no label
  122.         Directory of  F:\WINDOWS
  123.  
  124.        WINFILE  EXE   106288   5-01-90   3:00a
  125.        WINHELP  EXE   193552   5-01-90   3:00a
  126.        WINVER   EXE     8704   5-01-90   3:00a
  127.            3 File(s)   6795264 bytes free
  128.  
  129.        These files will have the same creation date (in this case 5-01-90).
  130.  
  131. ??? If the Windows 3.0 files creation date is 5-01-90, go to STEP 5.
  132.  
  133. ??? If the Windows 3.0 files creation is later than  5-01-90, go to STEP B.
  134.  
  135.                                    (STEP 3)
  136.  
  137.         DETERMINING WHETHER STEALTH IS CAUSING A CONFLICT WITH WINDOWS
  138.         --------------------------------------------------------------
  139.  
  140.    You have QEMM version 6.00 or greater.  Quarterdeck has added the STEALTH 
  141. feature into your version of QEMM in order to create up to 83K more of HIGH-
  142. Ram than versions before 6.00!  The STealth feature is invoked with the 
  143. parameter ST:M or ST:F on the "DEVICE=C:\QEMM\QEMM386.SYS ..." line of your 
  144. CONFIG.SYS file (located in the root directory of your bootup drive).
  145.  
  146.    Your Windows problem may be related to the STealth feature of QEMM, 
  147. provided you have invoked STealth.  We will check your CONFIG.SYS file for the 
  148. ST:x parameter to determine the next troubleshooting STEP for you to take.
  149.  
  150.    With a file editor or file viewer, go to the C:\ directory (root directory 
  151. of your bootup drive) and load the CONFIG.SYS file.  Search the 
  152. DEVICE=C:\QEMM\QEMM386.SYS line for either ST:M or ST:F.
  153.  
  154.    ??? If the QEMM386.SYS line DOES NOT have a ST:M or ST:F parameter (not 
  155. using the STealth feature) and you are having problems in Windows 3.0 - Real 
  156. or Standard mode, then go to STEP 5.
  157.  
  158.    ??? If the QEMM386.SYS line DOES NOT have a ST:M or ST:F parameter (not 
  159. using the STealth feature) and you are having problems in Windows 3.0 - 
  160. Enhanced mode, then go to STEP 4.
  161.  
  162.    ??? If the QEMM386.SYS line DOES have a ST:M or ST:F parameter (you are 
  163. using the STealth feature), then proceed below...:
  164.  
  165.  
  166.    We want to remove all STealth-related parameters (ST:M, ST:F, XST=, XSTI=, 
  167. DBF=, FSTC, FRAME=) to test whether STealth is involved with your Windows 3.0 
  168. problem.  Here's an example of removing these parameters:
  169.  
  170.    DEVICE=C:\QEMM\QEMM386.SYS R:1 RAM ROM X=D000-D3FF ST:M XSTI=10
  171.                                                       <--delete-->
  172.    DEVICE=C:\QEMM\QEMM386.SYS R:1 RAM ROM X=D000-D3FF
  173.  
  174.  
  175.    Edit your CONFIG.SYS file & remove the STealth-related parameters, then re-
  176. boot your computer and try to re-create the problem in Windows 3.0.
  177.  
  178.    ??? If the problem still exists and your QEMM version is 6.00 only, please 
  179. go to STEP C.
  180.  
  181.    ??? If the problem still exists and your QEMM version is 6.01 or greater 
  182. and you are having problems in Windows 3.0 - Enhanced mode, then go to STEP 4.
  183.  
  184.    ??? If the problem still exists and your QEMM version is 6.01 or greater 
  185. and you are having problems in Windows 3.0 - Real or Standard mode, then go to 
  186. STEP 5.
  187.  
  188.    ??? If the problem goes away, then your Windows 3.0 problem is due to a 
  189. conflict with QEMM's STealth feature.  NOW, the next step for YOU is to leave 
  190. this technical note and get the technote STEALTH.TEC to resolve the STealth 
  191. conflict.  You no longer need this technote!
  192.  
  193.    The STEALTH.TEC technical note is available:
  194.  
  195.    1) On Compuserve [GO PCVENB, Library 1].  Download STEALT.ZIP.
  196.    2) On Genie [IBM PC Roundtable Software Library 9].  Download STEALTH.TXT.
  197.    3) On the Quarterdeck BBS [310-314-3227].  Download STEALTH.TEC.
  198.    4) On the Quarterdeck Q/FAX [310-314-3214].  Download FAX# 205 (Q/FAX will 
  199. automatically fax this back to your fax machine instantly!).
  200.    5) Call Quarterdeck Technical Support [310-392-9701] and we will gladly 
  201. fax/mail it to you.
  202.  
  203.  
  204.                                    (STEP 4)
  205.  
  206.                 CONFIGURE WINDOWS TO AVOID CONFLICTS WITH QEMM
  207.                 ----------------------------------------------
  208.  
  209.    You are having problems with Windows 3.0 - Enhanced mode and you have a 
  210. QEMM version greater than 6.01!  Windows 3.0 has several configuration files 
  211. which it loads at startup.  We can modify one of these startup files, 
  212. SYSTEM.INI, to instruct Windows not to conflict with QEMM.
  213.  
  214.    The SYSTEM.INI file is at least 60 lines long and is broken up into 
  215. sections by brackets [  ].  Add OR modify the following two parameters to the 
  216. [386Enh] section of the SYSTEM.INI file (located in the WINDOWS directory):
  217.  
  218.    EMMEXCLUDE=A000-FFFF           \______________________
  219.    SystemROMBreakPoint=False      /                      |
  220.                                                          |
  221.    The following is an EXAMPLE listing of SYSTEM.INI:    |
  222.                                                          |
  223.            .                                             |
  224.            .                                             |
  225.            .                                             |
  226.    mouse.drv=Logitech serial mouse                       |
  227.    display.drv=VGA                                       |
  228.    system.drv=MS-DOS or PC-DOS System                    |
  229.    [386Enh]            <---------------------------------|
  230.    systemrombreakpoint=false
  231.    ebios=*ebios
  232.    display=*vddvga
  233.            .
  234.            .
  235.            .
  236.  
  237.    Save the SYSTEM.INI file.
  238.    Now run Windows 3.0 - Enhanced mode and try to re-create the problem.
  239.  
  240.    ??? If the problem still exists, go to STEP 5.
  241.    ??? If the problem goes away, it has been solved.  HAVE A GREAT DAY!!!!!
  242.  
  243.  
  244.                                    (STEP 5)
  245.  
  246.                       CREATE A CLEAN ENVIRONMENT FOR QEMM
  247.                       -----------------------------------
  248.    To determine whether the Windows 3.0 problem is related to QEMM, you have 
  249. to remove all unnecessary lines from the CONFIG.SYS and AUTOEXEC.BAT files 
  250. (pertinent to the problem at hand) and then run Windows to see if the problem 
  251. still exists.  First, you need to make back-up copies of your CONFIG.SYS and 
  252. AUTOEXEC.BAT files (which are located in the root directory) because we are 
  253. going to modify these files.  To make the back-up copies of these files 
  254. perform the following 4 commands at the DOS prompt:
  255.  
  256.    1) C:
  257.    2) CD\
  258.    3) COPY CONFIG.SYS CONFIG.OLD
  259.    4) COPY AUTOEXEC.BAT AUTOEXEC.OLD
  260.  
  261.    Now, edit your CONFIG.SYS file so that only the lines that are ABSOLUTELY 
  262. necessary to re-create the Windows problem remain in the CONFIG.SYS file.  You 
  263. need the QEMM386.SYS line and the FILES= line as a minimum, delete every other 
  264. line unless it is ABSOLUTELY needed to re-create the problem.
  265.  
  266.    The following is an example CONFIG.SYS file for our example:
  267.  
  268.    #1   DEVICE=C:\QEMM\QEMM386.SYS RAM AROM=C800-CBFF
  269.     2   DEVICE=C:\UTIL\CACHE.SYS
  270.    #3   FILES=25
  271.     4   BUFFERS=30
  272.    #5   DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\SCAN\SCANNER.SYS 256
  273.     6   DEVICE=C:\DOS\ANSI.SYS
  274.     7   DEVICE=C:\FAXING\FAX.SYS
  275.    #8   SHELL=C:\COMMAND.COM /P /E:768
  276.    #9   DEVICE=C:\QEMM\LOADHI.SYS /R:3 C:\NETW\NETWORK.SYS
  277.     10  STACKS=0,0
  278.  
  279.    The # indicates lines which are ABSOLUTELY necessary to include in the 
  280. CONFIG.SYS file in order to re-create the problem.  Let's take a look at why 
  281. (you may want to look at the Windows 3.0 example problem scenario located on 
  282. the first page of this Technote, again!):
  283.  
  284.    line  1) We NEED the QEMM driver to re-create the problem
  285.    line  2) A disk cache IS NOT necessary to re-create the problem
  286.    line  3) we NEED to include the FILES= statement
  287.    line  4) the BUFFERS statement IS NOT needed
  288.    line  5) the scanner IS part of our problem
  289.    line  6) ANSI.SYS IS NOT needed to re-create the problem
  290.    line  7) the fax board has NOTHING to do with the problem
  291.    line  8) the SHELL= statement tells DOS where the command processor is
  292.    line  9) we NEED to log on to the network to run Windows
  293.    line 10) the Stacks statement IS NOT necessary
  294.  
  295.    (if you are not sure if a line is absolutely necessary in YOUR CONFIG.SYS 
  296. or AUTOEXEC.BAT files, you might try deleting it!)
  297.  
  298.    This leaves our CONFIG.SYS with
  299.        DEVICE=C:\QEMM\QEMM386.SYS RAM AROM=C800-CBFF
  300.        FILES=25
  301.        DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\SCAN\SCANNER.SYS 256
  302.        SHELL=C:\COMMAND.COM /P /E:768
  303.        DEVICE=C:\QEMM\LOADHI.SYS /R:3 C:\NETW\NETWORK.SYS
  304.  
  305.    Now, since the OPTIMIZE program was executed, some of the device drivers 
  306. have been loaded high and we have to make sure these drivers are loaded low.  
  307. This is because some device drivers behave incorrectly when loaded high.  All 
  308. we have to do is remove the LOADHI.SYS (and the  /R:x parameter if used) from 
  309. these lines.
  310.  
  311.        DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\SCAN\SCANNER.SYS 256
  312.               <------delete--------->
  313.        DEVICE=C:\SCAN\SCANNER.SYS 256
  314.  
  315.  
  316.    This leaves our CONFIG.SYS with
  317.        DEVICE=C:\QEMM\QEMM386.SYS RAM AROM=C800-CBFF
  318.        FILES=25
  319.        DEVICE=C:\SCAN\SCANNER.SYS 256
  320.        SHELL=C:\COMMAND.COM /P /E:768
  321.        DEVICE=C:\NETW\NETWORK.SYS
  322.  
  323.    Modify the QEMM line to look EXACTLY as follows:
  324.    DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  325.  
  326.    DO NOT add the 'RAM' parameter to this line!
  327.  
  328.    ??? If you have a version of QEMM greater than 6.00 and are using the
  329.        STealth parameter (ST:M or ST:F), please DO NOT include this
  330.        parameter at this time.  BUT make a mental note of it, as you will
  331.        add this parameter back to the QEMM386.SYS line in STEP 10.
  332.        ALSO, you will want to remove any STealth-related parameters at this
  333.        time (you may not have any of these) : XST= , XSTI=, DBF=, FSTC,
  334.        FRAME=.
  335.  
  336.  
  337.    If your QEMM386.SYS line previously contained a parameter to EXCLUDE an 
  338. area of memory such as EXCLUDE= or X= or AROM= or ARAM=, then you should also 
  339. add this parameter to the end of the QEMM386.SYS line.  DO NOT add any 
  340. INCLUDE= or I= parameters, if you previously had any!  In our example, we 
  341. previously had the AROM=C800-CBFF parameter.  Adding this parameter to the 
  342. above DEVICE line will look like:
  343.  
  344.    DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  345.    AROM=C800-CBFF
  346.           ^
  347.          (Please note that the "AROM=" parameter is NOT on the next line, but 
  348. is on the same line immediately after "NOSH ".  Many editors will allow wrap-
  349. around of the same line)
  350.  
  351.  
  352.    and boost the FILES= to at least 40
  353.  
  354.    The final CONFIG.SYS looks like:
  355.  
  356.       DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  357.    AROM=C800-CBFF
  358.       FILES=40
  359.       DEVICE=C:\SCAN\SCANNER.SYS 256
  360.       SHELL=C:\COMMAND.COM /P /E:768
  361.       DEVICE=C:\NETW\NETWORK.SYS
  362.  
  363.    (Your CONFIG.SYS may only need the QEMM386.SYS and FILES=40 line.  Don't 
  364. worry if your CONFIG.SYS isn't 5 lines long.)
  365.  
  366.  
  367.    Save the CONFIG.SYS and let's modify your AUTOEXEC.BAT file.  The only 
  368. lines which we need to keep are the PROMPT and PATH statements.
  369.  
  370.  
  371.    The following is an example AUTOEXEC.BAT file for our example:
  372.  
  373.     1   ECHO OFF
  374.    #2   PATH C:\;C:\DOS;C:\UTILS;C:\EDITOR;F:\WINDOWS;
  375.     3   C:\QEMM\LOADHI C:\UTIL\FASTKEYB
  376.    #4   PROMPT $P$G
  377.    #5   C:\QEMM\LOADHI /R:1 C:\NETW\LOGIN
  378.     6   SET TEMP=F:\WINDOWS\TEMP
  379.     7   FAXSETUP 125
  380.  
  381.    The # indicates lines which are absolutely necessary to re-create the 
  382. problem.  Here's why:
  383.  
  384.    Line 1) the ECHO statement IS NOT necessary
  385.    Line 2) We NEED the PATH statement
  386.    Line 3) Keyboard accelerator IS NOT needed
  387.    Line 4) Prompt statement is for your convenience
  388.    Line 5) We NEED to access the network
  389.    Line 6) This SET statement IS NOT necessary
  390.    Line 7) The FAX board has NOTHING to do with our problem
  391.  
  392.  
  393.    This leaves our AUTOEXEC.BAT as:
  394.        PATH C:\;C:\DOS;C:\UTILS;C:\EDITOR;F:\WINDOWS;
  395.        PROMPT $P$G
  396.        C:\QEMM\LOADHI /R:1 C:\NETW\LOGIN
  397.  
  398.    Now, since we have run the OPTIMIZE program, some of our device drivers 
  399. have been loaded high and we have to make sure these drivers are loaded low.  
  400. All we have to do is remove the LOADHI from these lines.
  401.  
  402.        C:\QEMM\LOADHI /R:1 C:\NETW\LOGIN
  403.        <----delete------->
  404.  
  405.        C:\NETW\LOGIN
  406.  
  407.    This leaves our final AUTOEXEC.BAT with:
  408.  
  409.        PATH C:\;C:\DOS;C:\UTILS;C:\EDITOR;F:\WINDOWS;
  410.        PROMPT $P$G
  411.        C:\NETW\LOGIN
  412.  
  413.    (Your AUTOEXEC.BAT may only need the PATH and PROMPT lines.  Don't worry 
  414. that your AUTOEXEC.BAT isn't 3 or more lines long)
  415.  
  416.  
  417.    Save the AUTOEXEC.BAT file.
  418.  
  419.    Now reboot your machine and try to re-create the problem in Windows.
  420.  
  421.    ??? If the problem still exists, go to STEP 6.
  422.    ??? If the problem goes away, go to STEP 8.
  423.  
  424.  
  425.                                    (STEP 6)
  426.  
  427.                  USE THE MICROSOFT DRIVERS INSTEAD OF QEMM-386
  428.                  ---------------------------------------------
  429.  
  430.    Since the problem still exists using a clean environment for QEMM, then we 
  431. have to determine whether the problem is caused by QEMM or is caused by 
  432. Windows 3.0.  We will now modify your CONFIG.SYS to use the Microsoft drivers 
  433. instead of QEMM and try to re-create the problem.  First, make a back-up copy 
  434. of the "clean environment" version of CONFIG.SYS file by entering the 
  435. following 3 commands at the DOS prompt:
  436.  
  437.    1) C:
  438.    2) CD\
  439.    3) COPY CONFIG.SYS CONFIG.Q
  440.  
  441.    We will attempt to re-create the problem by using the Microsoft drivers, 
  442. HIMEM.SYS and EMM386.SYS (EMM386.EXE if you are using DOS 5.0), which when 
  443. loaded together are similar to the Extended and Expanded memory features of 
  444. QEMM.
  445.  
  446.    First, you must find where these files are located on your hard-disk (They 
  447. are most likely found in the C:\WINDOWS, C:\DOS, C:\ directories). Now, edit 
  448. the CONFIG.SYS and replace these two drivers for the QEMM386.SYS driver 
  449. (ASSUME that HIMEM.SYS is in the root directory and EMM386.SYS is in the DOS 
  450. directory)
  451.  
  452.       DEVICE=C:\HIMEM.SYS
  453.       DEVICE=C:\DOS\EMM386.SYS ON 4096
  454.       FILES=40
  455.       DEVICE=C:\SCAN\SCANNER.SYS 256
  456.       SHELL=C:\COMMAND.COM /P /E:768
  457.       DEVICE=C:\NETW\NETWORK.SYS
  458.  
  459.    Save CONFIG.SYS, reboot, and try to re-create the problem in Windows.
  460.  
  461.    ??? If the problem still exists, then we have determined that QEMM is not 
  462. responsible for the problems you are having in Windows 3.0.  The next STEP 
  463. would be for you to consult your Windows documentation or contact Microsoft 
  464. Windows Technical Support at (206) 637-7098 or contact the makers of the 
  465. resident program or driver which is giving you problems in Windows.
  466.  
  467.    ??? If the problem goes away, go to STEP 7.
  468.  
  469.  
  470.                                    (STEP 7)
  471.                                    --------
  472.  
  473.              CONFIGURE QEMM-386 SIMILARLY TO THE MICROSOFT DRIVERS
  474.              -----------------------------------------------------
  475.  
  476.    We want to find out what Microsoft's drivers are doing to make Windows work 
  477. properly so that we can configure QEMM to emulate the Microsoft drivers.  We 
  478. must use the MANIFEST program to view what the Microsoft drivers are doing.
  479.  
  480.    1) Exit Windows 3.0 or Reboot your computer to get to the DOS prompt
  481.    2) C:\QEMM\MFT.EXE    [type this at the DOS prompt to start MANIFEST]
  482.  
  483.       The following is an EXAMPLE of the first screen in MANIFEST:
  484.  
  485.       Quarterdeck
  486.         MANIFEST     |  Overview   CONFIG   AUTOEXEC   Adapters   CMOS
  487.                      |
  488.                      |               Processor         80386
  489.        First Meg     |               Video Adapter     VGA
  490.                      |               BIOS              Phoenix
  491.        Expanded      |               BIOS Date         01/15/88
  492.                      |               Coprocessor       None
  493.        Extended      |               Keyboard          Enhanced
  494.                      |               Parallel Ports    2
  495.          DOS         |               Serial Ports      2
  496.                      |
  497.         Hints        |
  498.                      |
  499.          Exit        |                             Total       Available
  500.                      |       Conventional Memory    640K         520K
  501.                      |       Expanded Memory       4000K        1520K
  502.                      |       Extended Memory       4096K           0K
  503.                      |
  504.    F1=Help F2=Print  |
  505.  
  506.  
  507.    Hit the down-arrow key once (this will give you the First Meg/Overview 
  508. screen).  The box in the center of the screen will look as follows:
  509.  
  510.    You will see a screen similar to this:
  511.  
  512.     Memory Area   Size   Description
  513.     0000 - 003F     1K   Interrupt Area
  514.     0040 - 004F   0.3K   BIOS Data Area
  515.     0050 - 006F   0.5K   System Data
  516.     0070 - 0FB0    61K   DOS
  517.     0FB1 - 21F8    73K   Program Area
  518.     21F9 - 9FFF   504K   [Available]
  519.     Conventional memory ends at 640K
  520.     A000 - AFFF    64K   VGA Graphics
  521.     B000 - B7FF    32K   Unused
  522.     B800 - BFFF    32K   VGA Text
  523.     C000 - C7FF    32K   Video ROM
  524.     C800 - CFFF    32K   Unused
  525.     D000 - DFFF    64K   Page Frame      <----------------------------|
  526.     E000 - EFFF    64K   Unused                                       |
  527.     F000 - FFFF    64K   System ROM                                   |
  528.                                                                       |
  529.                                                                       |
  530.    Look for the Page Frame, we must use the QEMM parameter FRAME=  ---| to 
  531. emulate where the Page Frame is located when using the Microsoft drivers. 
  532. (Notice that the Page Frame above starts at D000)
  533.  
  534.    Hit the ESCAPE key twice to exit MANIFEST and perform the following 4 
  535. commands at the DOS prompt: 
  536. 1) C:
  537. 2) CD\ 
  538. 3) RENAME CONFIG.SYS CONFIG.M  [Save the CONFIG.SYS w/Microsoft drivers] 
  539. 4) COPY CONFIG.Q CONFIG.SYS    [Bring back the STEP-5 CONFIG.SYS       ]
  540.  
  541.    Add the following parameters to the end of the QEMM386.SYS line of your 
  542. CONFIG.SYS file:
  543. X=0000-3FFF NX NR NRH NOVDS FRAME=XXXX
  544.                                   ^^^^
  545.              (XXXX is the starting memory area of the Page Frame when using 
  546. the Microsoft drivers on your machine.  In this EXAMPLE, FRAME=D000)
  547.  
  548.    The QEMM386.SYS line for this EXAMPLE now looks like:
  549.       DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  550.    AROM=C800-CBFF X=0000-3FFF NX NR NRH NOVDS FRAME=D000
  551.  
  552.    Reboot and try to re-create the problem in Windows.
  553.  
  554.    ??? If the problem still exists , then go to STEP D.
  555.    ??? If the problem goes away, then go to STEP 8.
  556.  
  557.  
  558.                                    (STEP 8)
  559.  
  560.                           CREATING HIGH-RAM FOR QEMM
  561.                           --------------------------
  562.  
  563.    We have properly configured QEMM to work with Windows without High RAM. We 
  564. must add the RAM parameter to end of the QEMM386.SYS line in your CONFIG.SYS 
  565. to create High RAM.  Edit your CONFIG.SYS file and add RAM to the end of the 
  566. QEMM386.SYS line (DEVICE=C:\QEMM\QEMM386.SYS ... RAM).
  567.  
  568.    Reboot your machine and try to re-create the problem in Windows.
  569.  
  570.    ??? If the problem re-occurs, then go to STEP 9.
  571.  
  572.    ??? If the problem does not occur, then proceed below:
  573.  
  574.    In STEP 5, we added the following parameters to the QEMM386.SYS line: 
  575. X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH.  We will attempt to recover 
  576. some/all of the HIGH-Ram which we eXcluded.  Edit the 
  577. DEVICE=C:\QEMM\QEMM386.SYS... line of the CONFIG.SYS file and delete (ONE 
  578. parameter AT A TIME) the following 3 parameters: X=A000-C7FF, X=F000-FFFF, 
  579. NCF. If removing the X=A000-C7FF parameter does not cause the problem to re-
  580. occur, then you don't need this parameter.  However if the problem does re-
  581. occur, then the parameter needs to be kept.  Try this for the other 2 
  582. parameters!
  583.  
  584.  
  585.    ??? If the problem still doesn't occur and you WERE using the STealth 
  586. feature (ST:M or ST:F) from QEMM version 6.00 or greater, then go to STEP 10.
  587.    ??? If the problem still doesn't occur and you WERE NOT using the STealth 
  588. feature (ST:M or ST:F) from QEMM version 6.00 or greater, then go to STEP E.
  589.  
  590.  
  591.                                    (STEP 9)
  592.  
  593.                         ELIMINATING HIGH-RAM CONFLICTS
  594.                         ------------------------------
  595.  
  596.    It appears that there is a conflict between one of your adapters and QEMM.  
  597. QEMM is not recognizing that your adapter is there and QEMM is mapping memory 
  598. on top of the adapter memory.  We must exclude all High RAM areas to test this 
  599. hypothesis and if indeed this is the case, we will systematically narrow down 
  600. what area really needs to be excluded!
  601.  
  602.  
  603.    1) C:\QEMM\MFT.EXE    [type this at the DOS prompt to start MANIFEST]
  604.  
  605.       The following is an EXAMPLE of the first screen in MANIFEST:
  606.  
  607.       Quarterdeck
  608.         MANIFEST     |  Overview   CONFIG   AUTOEXEC   Adapters   CMOS
  609.                      |
  610.                      |               Processor         80386
  611.        First Meg     |               Video Adapter     VGA
  612.                      |               BIOS              Phoenix
  613.        Expanded      |               BIOS Date         01/15/88
  614.                      |               Coprocessor       None
  615.        Extended      |               Keyboard          Enhanced
  616.                      |               Parallel Ports    2
  617.          DOS         |               Serial Ports      2
  618.                      |
  619.         Hints        |
  620.                      |
  621.          Exit        |                             Total       Available
  622.                      |       Conventional Memory    640K         520K
  623.                      |       Expanded Memory       4000K        1520K
  624.                      |       Extended Memory       4096K           0K
  625.                      |
  626.    F1=Help F2=Print  |
  627.  
  628.    Hit the down-arrow key once (this will give you the First Meg/Overview 
  629. screen).  The box in the center of the screen will look as follows:
  630.  
  631.    You will see a screen similar to this:
  632.  
  633.     Memory Area   Size   Description
  634.     0000 - 003F     1K   Interrupt Area
  635.     0040 - 004F   0.3K   BIOS Data Area
  636.     0050 - 006F   0.5K   System Data
  637.     0070 - 0FB0    61K   DOS
  638.     0FB1 - 21F8    73K   Program Area
  639.     21F9 - 9FFF   504K   [Available]
  640.     Conventional memory ends at 640K
  641.     A000 - AFFF    64K   VGA Graphics
  642.     B000 - B7FF    32K   Unused
  643.     B800 - BFFF    32K   VGA Text
  644.     C000 - C7FF    32K   Video ROM
  645.     C800 - CFFF    32K   High RAM      <------------|
  646.     D000 - DFFF    64K   Page Frame                 |
  647.     E000 - EFFF    64K   High RAM      <------------|
  648.     F000 - FFFF    64K   System ROM                 |
  649.                                                     |
  650.                                                     |
  651.                                                     |
  652.    We want to eXclude all High RAM areas!    -------|
  653.  
  654.    We do this by using the EXCLUDE= (X=  for short) parameter to QEMM.  For 
  655. this example, we have two High RAM areas to exclude: from C800-CFFF and E000-
  656. EFFF.  The corresponding parameters to ADD to end of the QEMM386.SYS line in 
  657. the CONFIG.SYS file would be:
  658.    X=C800-CFFF X=E000-EFFF
  659.  
  660.    Add as many X= parameters as needed to your CONFIG.SYS to exclude as many 
  661. High RAM areas that your machine has.
  662.  
  663.    - - -
  664.    Also consider the following:
  665.  
  666.    Do you have a SCSI hard-disk controller and/or a bus-mastering device? If 
  667. so, perform the following:
  668.  
  669.    Locate the DOS driver SMARTDRV.SYS (could be in your C:\DOS , C:\WINDOWS, 
  670. C:\ directory) and add the following line to your CONFIG.SYS file: 
  671. DEVICE=C:\WINDOWS\SMARTDRV.SYS 256 256 - - -
  672.  
  673.    reboot your machine and try to re-create the problem in Windows.
  674.  
  675.    ??? If the problem occurs, then go to STEP D.
  676.  
  677.    ??? if the problem goes away, then we know there was a memory conflict and 
  678. we should now try to narrow down which address range in High RAM has been 
  679. causing the conflict.  This will allow you to get back as much High-RAM as 
  680. possible!
  681.  
  682.    Usually when there is a conflict in memory, there is a 16K area that needs 
  683. to be excluded and we should now narrow down the eXclusion of High-RAM areas 
  684. in question.
  685.    EXAMPLE:  We have excluded C800-CFFF which is a 32K area and E000-EFFF 
  686. which is a 64K area.  These numbers are in Hexidecimal (base 16) and may 
  687. confuse you!  (You can access a technical-note on Hexidecimal numbers by 
  688. calling our Q/FAX line @ 310-314-3214 to download technical-note number 190 to 
  689. your own fax machine)  These 2 areas comprise of 6 different 16K areas (C800-
  690. CBFF, CC00-CFFF, E000-E3FF, E400-E7FF, E800-EBFF, EC00-EFFF).  To narrow down 
  691. the area, we would use the X= parameter, trying all six combination, one at a 
  692. time!  More than likely, five out of the six combinations will cause the 
  693. problem to occur, but one out of the six will resolve the problem.
  694.  
  695.    ??? When you have determined which area needed to be excluded, and you WERE 
  696. using the STealth feature (ST:M or ST:F) from QEMM version 6.00 or greater, 
  697. then go to STEP 10.
  698.  
  699.    ??? When you have determined which area needed to be excluded, and you WERE 
  700. NOT using the STealth feature (ST:M or ST:F) from QEMM version 6.00 or 
  701. greater, then go to STEP E.
  702.  
  703.                                    (STEP 10)
  704.  
  705.                        ADDING THE STEALTH PARAMETER BACK
  706.                        ---------------------------------
  707.  
  708.    We have properly configured QEMM to work with Windows 3.0 with High RAM. We 
  709. must now add the STealth (and any STealth-related) parameter to the end of the 
  710. QEMM386.SYS line in your CONFIG.SYS to enable STealth.  Edit your CONFIG.SYS 
  711. file and add ST:M or ST:F (and any STealth-related parameter that was 
  712. ORIGINALLY on your QEMM386.SYS line) to the end of the QEMM386.SYS line:
  713.  
  714.     DEVICE=C:\QEMM\QEMM386.SYS ... RAM ST:x  [other STealth parameters???].
  715.  
  716.    Reboot your machine and try to re-create the problem in Windows.
  717.  
  718.    ??? If the problem still doesn't occur, then go to STEP E.
  719.  
  720.    ??? If the problem does re-occur, then your Windows 3.0 problem is due to a 
  721. conflict with QEMM's STealth feature.  NOW, the next step FOR YOU is to leave 
  722. this technical note (for now) and get the technote STEALTH.TEC to resolve the 
  723. STealth conflict.
  724.  
  725.    The STEALTH.TEC technical-note is available:
  726.  
  727.    1) On Compuserve [GO PCVENB, Library 1].  Download STEALT.ZIP.
  728.    2) On Genie [IBM PC Roundtable Software Library 9].  Download
  729.       STEALTH.TXT.
  730.    3) On the Quarterdeck BBS [310-314-3227].  Download STEALTH.TEC.
  731.    4) On the Quarterdeck Q/FAX [310-314-3214].  Download FAX# 205 ( Q/FAX will 
  732. automatically fax this back to your fax machine instantly!).
  733.    5) Call Quarterdeck Technical Support [310-392-2701] & we will gladly 
  734. fax/mail it to you.
  735.  
  736.    Once you have resolved the STealth-related problem with the current
  737.    CONFIG.SYS, then go to STEP E.
  738.    ------------------------------------------------------------------------
  739.                                   (STEP - A)
  740.                                   ----------
  741.  
  742.    You have an older version of QEMM-386 which does not support Windows 3.0 
  743. and may contact the Quarterdeck Upgrade Department at (800) 354-3222 or (310) 
  744. 314-3222 for upgrade requests.  Please note that we will upgrade your QEMM-386 
  745. to the most recent version ONLY if you have already registered your product!
  746.  
  747.                                   (STEP - B)
  748.                                   ----------
  749.    Standard mode is not supported for Windows 3.0a with QEMM-386 version 5.11; 
  750. you may contact the Quarterdeck Upgrade Department at (800) 354-3222 or (310) 
  751. 314-3222 for upgrade requests.  HOWEVER, we do have a patch called WIN300A.PAT 
  752. which will modify your existing QEMM-386 files to work around the problem 
  753. (WIN300A.PAT can be accessed on our BBS [310-314-3227], on Compuserve [GO 
  754. PCVENB , Library 1], on Genie [IBM PC Roundtable Software Library 9] as 
  755. WIN300A.TXT, or we can fax/mail you this patch when you call technical 
  756. support).  Please note that this patch should only be considered a temporary 
  757. work-around until your upgrade arrives!
  758.  
  759.                                   (STEP - C)
  760.                                   ----------
  761.  
  762.    You have QEMM version 6.00 and there is a known conflict with QEMM and 
  763. Windows 3.0 when either 1) you are using an application in Windows which uses 
  764. EMS (expanded memory) or 2) you are loading a device driver or TSR which 
  765. accesses EMS before entering Windows.
  766.  
  767.    Under these circumstances, you will need to upgrade to a QEMM version of 
  768. 6.01 or greater and may contact the Quarterdeck Upgrade Department at (800) 
  769. 354-3222 or (310) 314-3222 for upgrade requests.
  770.  
  771.    If neither Windows nor any loaded drivers are accessing EMS, then upgrading 
  772. WILL NOT RESOLVE your Windows problem.  If this is the case, please go back to 
  773. STEP 4 and continue with this technote!
  774.  
  775.    PLEASE NOTE: If you are not sure if Windows or any loaded driver is 
  776. accessing EMS, do not automatically assume that upgrading will resolve your 
  777. problem.  Follow the rest of this technote anyways (because if EMS is not 
  778. causing the problem, you will waste time upgrading and still have the Windows 
  779. problem and will still have to continue with this technote!)
  780.  
  781.  
  782.                                   (STEP - D)
  783.                                   ----------
  784.    The problem you are having requires further troubleshooting techniques and 
  785. investigation.  Call our Technical Support line at (310) 392-9701 for further 
  786. assistance.  When you call, please have available the following files 
  787. available:
  788.  
  789.    Your original CONFIG.SYS and AUTOEXEC.BAT files
  790.    CONFIG.SYS   (QEMM386.SYS and FILES=)
  791.    AUTOEXEC.BAT (PATH and PROMPT)
  792.    CONFIG.Q     (only if you have gone thru STEP 6)
  793.    CONFIG.M     (only if you have gone thru STEP 7)
  794.  
  795.  
  796.                                   (STEP - E)
  797.                                   ----------
  798.  
  799.    CONGRATULATIONS, you have successfully configured QEMM-386 and Windows 3.0 
  800. to work together!  Enter the following 6 commands at the DOS prompt:
  801.  
  802.    1) C:
  803.    2) CD\
  804.    3) RENAME AUTOEXEC.BAT AUTOEXEC.Q
  805.    4) COPY CONFIG.SYS CONFIG.Q
  806.    5) COPY CONFIG.OLD CONFIG.SYS         [Bring back your original file]
  807.    6) COPY AUTOEXEC.OLD AUTOEXEC.BAT     [Bring back your original file]
  808.  
  809.    Edit the CONFIG.SYS file and replace the original QEMM386.SYS line with the 
  810. one you have created by using this technical note (now in CONFIG.Q) and make 
  811. sure FILES= to at least 40!
  812.  
  813.  
  814.    Reboot the machine and try to re-create the problem in Windows.
  815.  
  816.    ??? If the problem is still no longer occurring, the problem is solved.
  817.        HAVE A GREAT DAY!!!
  818.  
  819.    ??? If the problem now occurs, then we know that there is a command line 
  820. either in your CONFIG.SYS or AUTOEXEC.BAT that has been causing the problem 
  821. with Windows.  To determine which file the command line is in, we will bring 
  822. back the AUTOEXEC.BAT (Path and Prompt) that we previously created in STEP 5:
  823.  
  824.    Enter the following 4 commands at the DOS prompt:
  825.  
  826.    1) C:
  827.    2) CD\
  828.    3) COPY AUTOEXEC.BAT AUTOEXEC.OLD
  829.    4) COPY AUTOEXEC.Q AUTOEXEC.BAT
  830.  
  831.    Reboot your machine and try to re-create the problem in Windows.
  832.  
  833.    ??? If the problem still exists, than we know that the command line which 
  834. is giving us problems is located in the CONFIG.SYS file and if the problem 
  835. goes away, the command line is in the original AUTOEXEC.BAT file.
  836.  
  837.    Now you must systematically determine which command line is giving you 
  838. trouble!  Try deleting one line at a time (if you have a long CONFIG.SYS or 
  839. AUTOEXEC.BAT file try deleting 2-3 lines at a time) until you find out which 
  840. line is causing the problem.
  841.  
  842.    When you finally determine which line is causing the problem:
  843.  
  844.    1) If the device driver or TSR is loaded into High-RAM, use the procedure 
  845. in STEP 4 to load it low and see if this corrects the problem.
  846.    2) Read the manual or call the technical support of the product which you 
  847. are loading to determine where the problem might lie.
  848.    3) If a TSR or device driver has a parameter that tells it to load/use XMS 
  849. or EMS, then have it load/use conventional memory instead.
  850.    4) Call Quarterdeck Technical Support to determine DOS command problems.
  851.    5) JUST GET RID OF THAT LINE!
  852.  
  853.                Copyright (C) 1991 by Quarterdeck Office Systems
  854.                      * * *   E N D   O F   F I L E   * * *
  855.